SOURCES=ZhangEtAlAnalisys.cpp EnterExitAnalysis.cpp BlockAllFilter.cpp AbstractStreamer.cpp StreamProcessor.cpp Module.cpp Filter.cpp GraphAnalysis.cpp FollowAnalysis.cpp Analysis.cpp Streamer.cpp SpectrumAnalysis.cpp SubtraceAnalysis.cpp main.cpp

CXXFLAGS=-O3
LIBS=-lreadline
#CXXFLAGS=-g

OBJECTS=$(SOURCES:.cpp=.o)

all: systrace

systrace: $(OBJECTS)
	g++ $(CXXFLAGS) -o systrace $(OBJECTS) $(LIBS)

.cpp.o:
	$(CXX) $(CXXFLAGS) $< -c -o $@

clean:
	rm *.o systrace

